home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11822 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: mail2news.demon.co.uk!tsys.demon.co.uk
  2. From: Tom Wheeley <tomw@tsys.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: File Globbing
  5. Date: Tue, 26 Mar 96 05:01:48 GMT
  6. Organization: City Zen FM
  7. Message-ID: <827816508snz@tsys.demon.co.uk>
  8. References: <4j7kvp$p1d@silas.cc.monash.edu.au>
  9. Reply-To: tomw@tsys.demon.co.uk
  10. X-NNTP-Posting-Host: tsys.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.30
  12. X-Sig-By: Tomsystems Quote v1.2.  (c)1996 Tom Wheeley, tomw@tsys.demon.co.uk
  13. X-Mail2News-Path: tsys.demon.co.uk
  14.  
  15. In article <4j7kvp$p1d@silas.cc.monash.edu.au>
  16.            mman2@silas.cc.monash.edu.au "Mr Mark Mansour" writes:
  17.  
  18. > I am looking for a file globbing routing for a Unix box.  Is there
  19. > something already written, or do I have to start from scratch?  For
  20. > those who do not understand what I am talking about, if the user
  21. > enters something such as "ls a*b??d" it will check it against an 
  22. > array/list of alternatives and supply my with the correct answer.
  23.  
  24. I am also interested in a routine which checks a string against a wildcard
  25. expression.
  26.  
  27. I would _like_ to have `*', `?' and `[A-Z]' style wildcards :)
  28.  
  29. .splitbung
  30. -- 
  31. * TQ 1.0 * The 'Just So Quotes'.
  32. Heisenburg may have slept here.
  33.